export default {
  getRootTactics:{//获取所有根目录策略
    url:'/publics/tactics/getRoot',
    require:['token','clientid']
  },
  createTactics:{//新建策略
    url:'/publics/tactics/create',
    require:['token','clientid','name','description']//parentId 可为空
  },
  getTactics:{//获取策略
    url:'/publics/tactics/get',
    require:['token','clientid','id']
  },
  getTacticsList:{//获取所有策略
    url:'/publics/tactics/list',
    require:['token','clientid']//parentId 可为空
  },
  getTacticsIndexes:{// 获取策略指标
    url:'/publics/tacticsIndex/list',
    require:['token','clientid','tacticsId']
  },
  updateTactics:{//更新策略
    url:'/publics/tactics/update',
    require:['token','clientid','id','name']
  },
  delAndUpdateTactics:{//删除父策略并更新子策略
    url:'/publics/tactics/deleteAndUpdate',
    require:['token','clientid','id']
  },
  delTacticsFamily:{//删除父策略包括子策略
    url:'/publics/tactics/deleteFamily',
    require:['token','clientid','id']
  },
}
